<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!-- public quote -->
<%@include file="/jsp/comm_css_include.jsp"%>
<link rel="stylesheet" type="text/css" href="${basePath}/css/zTreeStyle/zTreeStyle/zTreeStyle.css">
<!doctype html>
<html>
<head>
<style type="text/css">
li{list-style: none;}

</style>
</head>
<body class="gray-bg">
	<div class="container creditbody">
		 <div class="iboxtitle">
		 	<span><i class="glyphicon glyphicon-map-marker"></i>&nbsp;业务受理>车辆信息修改历史</span>
         </div>
	    <%@include file="/jsp/comm_yw_info_include_nohis.jsp"%>
	    <div class="business-manwife">车辆调整信息</div>
		<div class="tche-padding">
			<table cellpadding="0" cellspacing="0" border="0" class="thead-tabletz">
				<thead class="thead-a">
					<tr>
						<th>项目</th>
						<th>原值</th>
						<th>新值</th>
						<th>调整值</th>
					</tr>
				</thead>
				<tbody class="tbody-a">
					<tr>
						<td colspan="4" align="center"><strong class="strongFont">车辆信息</strong></td>
					</tr>
					<tr>
						<td id="">车辆类别</td>
						<td id="categoryCar">${ywCarinfoEditHis.categoryCarDisplay }</td>
						<td id="categoryCarNew">${ywCarinfoEdit.categoryCarDisplay }</td>
						<td id="categoryCarTz">${ywCarinfoEditHis.categoryCarDisplay == ywCarinfoEdit.categoryCarDisplay ? '-' : ywCarinfoEdit.categoryCarDisplay}</td>
					</tr>
					<tr>
						<td id="">车辆颜色</td>
						<td id="colorCar">${ywCarinfoEditHis.colorCarDisplay }</td>
						<td id="colorCarNew">${ywCarinfoEdit.colorCarDisplay }</td>
						<td id="colorCarTz">${ywCarinfoEditHis.colorCarDisplay == ywCarinfoEdit.colorCarDisplay ? '-' : ywCarinfoEdit.colorCarDisplay}</td>
					</tr>
					<tr>
						<td id="">新车指导价</td>
						<td id="priceNewcar">${ywCarinfoEditHis.priceNewcar }</td>
						<td id="priceNewcarNew">${ywCarinfoEdit.priceNewcar }</td>
						<td id="priceNewcarTz">${ywCarinfoEditHis.priceNewcar == ywCarinfoEdit.priceNewcar ? '-' : ywCarinfoEdit.priceNewcar}</td>
					</tr>
					<tr>
						<td id="">车辆车型</td>
						<td id="carName">${ywCarinfoEditHis.nameCarModel }</td>
						<td id="carNameNew">${ywCarinfoEdit.nameCarModel }</td>
						<td id="carNameTz">${ywCarinfoEditHis.nameCarModel == ywCarinfoEdit.nameCarModel ? '-' : ywCarinfoEdit.nameCarModel}</td>
					</tr>
					<tr>
						<td id="">合格证号</td>
						<td id="numQualified">${ywCarinfoEditHis.numQualified }</td>
						<td id="numQualifiedNew">${ywCarinfoEdit.numQualified }</td>
						<td id="numQualifiedTz">${ywCarinfoEditHis.numQualified == ywCarinfoEdit.numQualified ? '-' : ywCarinfoEdit.numQualified}</td>
					</tr>
					<tr>
						<td id="">厂牌型号</td>
						<td id="noticeModel">${ywCarinfoEditHis.noticeModel }</td>
						<td id="noticeModelNew">${ywCarinfoEdit.noticeModel }</td>
						<td id="noticeModelTz">${ywCarinfoEditHis.noticeModel == ywCarinfoEdit.noticeModel ? '-' : ywCarinfoEdit.noticeModel}</td>
					</tr>
					<tr>
						<td id="">排量(L)</td>
						<td id="displacement">${ywCarinfoEditHis.displacement }</td>
						<td id="displacementNew">${ywCarinfoEdit.displacement }</td>
						<td id="displacementTz">${ywCarinfoEditHis.displacement == ywCarinfoEdit.displacement ? '-' : ywCarinfoEdit.displacement}</td>
					</tr>
					<tr>
						<td id="">功率</td>
						<td id="power">${ywCarinfoEditHis.power }</td>
						<td id="powerNew">${ywCarinfoEdit.power }</td>
						<td id="powerTz">${ywCarinfoEditHis.power == ywCarinfoEdit.power ? '-' : ywCarinfoEdit.power}</td>
					</tr>
					<tr>
						<td id="">发动机号</td>
						<td id="numEngine">${ywCarinfoEditHis.numEngine }</td>
						<td id="numEngineNew">${ywCarinfoEdit.numEngine }</td>
						<td id="numEngineTz">${ywCarinfoEditHis.numEngine == ywCarinfoEdit.numEngine ? '-' : ywCarinfoEdit.numEngine}</td>
					</tr>
					<tr>
						<td id="">底盘后6位</td>
						<td id="numChassisSix">${ywCarinfoEditHis.numChassisSix }</td>
						<td id="numChassisSixNew">${ywCarinfoEdit.numChassisSix }</td>
						<td id="numChassisSixTz">${ywCarinfoEditHis.numChassisSix == ywCarinfoEdit.numChassisSix ? '-' : ywCarinfoEdit.numChassisSix}</td>
					</tr>
					<tr>
						<td id="">开票单位</td>
						<td id="companyBill">${ywCarinfoEditHis.companyBill }</td>
						<td id="companyBillNew">${ywCarinfoEdit.companyBill }</td>
						<td id="companyBillTz">${ywCarinfoEditHis.companyBill == ywCarinfoEdit.companyBill ? '-' : ywCarinfoEdit.companyBill}</td>
					</tr>
					<tr>
						<td id="">发票日期</td>
						<td id="dateBill"><fmt:formatDate value="${ywCarinfoEditHis.dateBill }" pattern="yyyy-MM-dd" /></td>
						<td id="dateBillNew"><fmt:formatDate value="${ywCarinfoEdit.dateBill }" pattern="yyyy-MM-dd" /></td>
						<td id="dateBillTz"><fmt:formatDate value="${ywCarinfoEditHis.dateBill == ywCarinfoEdit.dateBill ? '' : ywCarinfoEdit.dateBill}" pattern="yyyy-MM-dd" /></td>
					</tr>
					<tr>
						<td id="">发票号</td>
						<td id="numBill">${ywCarinfoEditHis.numBill }</td>
						<td id="numBillNew">${ywCarinfoEdit.numBill }</td>
						<td id="numBillTz">${ywCarinfoEditHis.numBill == ywCarinfoEdit.numBill ? '-' : ywCarinfoEdit.numBill}</td>
					</tr>
					<tr>
						<td id="">发票地区</td>
						<td id="areaBill">${ywCarinfoEditHis.areaBill }</td>
						<td id="areaBillNew">${ywCarinfoEdit.areaBill }</td>
						<td id="areaBillTz">${ywCarinfoEditHis.areaBill == ywCarinfoEdit.areaBill ? '-' : ywCarinfoEdit.areaBill}</td>
					</tr>
					<tr>
						<td id="">车架号</td>
						<td id="areaBill">${ywCarinfoEditHis.vin }</td>
						<td id="areaBillNew">${ywCarinfoEdit.vin }</td>
						<td id="areaBillTz">${ywCarinfoEditHis.vin == ywCarinfoEdit.vin ? '-' : ywCarinfoEdit.vin}</td>
					</tr>
					<tr>
						<td colspan="4"><strong class="strongFont">备注</strong></td>
					</tr>
					<tr>
						<td colspan="4" id="remarks">${ywCarinfoEdit.remarks }</td>
					</tr>
				</tbody>
			</table>
		</div>
		<div class="business-manwife">审核信息</div>
		<div class="business-padding">
			<table cellpadding="0" cellspacing="0" border="0" class="thead-tabletz">
					<thead class="thead-a">
						<tr>
							<th>业务流程</th>
							<th>经办部门</th>
							<th>经办人</th>
							<th>处理时间</th>
							<th>处理结果</th>
						</tr>
					</thead>
					<tbody class="tbody-a" id="tbodyLength">
						<c:if test="${empty otherAuditInfos }">
							<tr>
								<td>-</td>
								<td>-</td>
								<td>-</td>
								<td>-</td>
								<td>-</td>
							</tr>
						</c:if>
						<c:if test="${!empty otherAuditInfos }">
							<c:forEach items="${otherAuditInfos }" var="otherAuditInfo" varStatus="status">
								<tr class="createdTimeTr" id="tbodyLength">
									<td>${otherAuditInfo.auditName }</td>
									<td>${otherAuditInfo.orgName }</td>
									<td>${otherAuditInfo.creatorName }</td>
									<td class="createdTime">${otherAuditInfo.created }</td>
									<td>${otherAuditInfo.auditStatusDisplay }</td>
								</tr>
							</c:forEach>
						</c:if>
						
					</tbody>	
			</table>
		</div>
		<!-- 当前经办人 -->
   		<%-- <%@include file="/jsp/comm_current_person_include.jsp"%> --%>
	</div>	
	
	<!-- public quote -->
    <%@include file="/jsp/comm_js_include.jsp"%>
    <script type="text/javascript" src="${basePath}/js/plugins/layer/laydate/laydate.js"></script>
    <!--
    	时间：2017-04-06
    	描述：js
    -->
    <script type="text/javascript">
    
	    jQuery(function($) {  
	    	$(".tbody-a tr").each(function(){
	    		var compareVal = $(this).find(".compare").val();
	    		if(compareVal == "0.00" || compareVal == "0.0000"){
	    			$(this).find(".compare").val('-');
	    		}
	    	})
	    
		    /* var length = $("#tbodyLength tr").length;
			for(var i=0;i<length;i++){
				var createdTime = $("#tbodyLength tr:eq("+i+")").find(".createdTime").text();
				$("#tbodyLength tr:eq("+i+")").find(".createdTime").text(formateIntegerDate(createdTime))
			} */
			
			$("#tbodyLength .createdTime").each(function(){
				var createdTime = $(this).text();
				$(this).text(formateIntegerDate(createdTime));
			})
	    
	    });
	 	
	    
    </script>
</body>
</html>
